package com.example.wechatappbackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("activity")
public class Activity {
    @TableId(value = "activityID", type = IdType.AUTO)
    private int activityID;
    @TableField(value = "description")
    private String description;
    @TableField(value = "coupon")
    private String coupon;
    @TableField(value = "status")
    private int status;
    @TableField(value = "max")
    private int max;
    @TableField(value = "sub")
    private int sub;
}
